import * as THREE from 'three'
export default class MeshLine {
    constructor(geometry) {
        // 根据一个几何体生成该几何体的线框几何体
        this.geometry = new THREE.EdgesGeometry(geometry);
        this.material = new THREE.LineBasicMaterial({ color: 0xffffff });
        this.mesh = new THREE.LineSegments(this.geometry, this.material);
    }
}